-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade cypress to v12 #2276
Conversation
🚀 Deployed on https://pr-2276--dhis2-dashboard.netlify.app |
b3e39ac
to
e7a68d8
Compare
package.json
Outdated
"cy:open-stub": "cypress_dhis2_api_stub_mode=STUB d2-utils-cypress open --appStart 'yarn cypress:start'", | ||
"cy:run-stub": "cypress_dhis2_api_stub_mode=STUB d2-utils-cypress run --tags '@nonmutating' --appStart 'yarn cypress:start' --record", | ||
"cy:capture": "cypress_dhis2_api_stub_mode=CAPTURE yarn d2-utils-cypress run --appStart 'yarn cypress:start'" | ||
"cypress:open:live": "yarn cypress open --env networkMode=live", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the network shim isn't in use, maybe we should simplify all this and just have
cy:run
and cy.open
like with our other repos. There would also be changes in the support/e2e.js file for this.
The verify workflow should run on tags, so that a corresponding branch is created in the d2-ci repository Do not run the release step on PRs, but do allow it for pushes yarn cypress install sometimes fails. Turns out it isn't necessary anyway since the cypress-io gh action takes care of installing cypress.
Automatically merged.
Automatically merged.
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jen Jones Arnesen <[email protected]>
* chore: nightly failing to set up cypress (#2378) The verify workflow should run on tags, so that a corresponding branch is created in the d2-ci repository Do not run the release step on PRs, but do allow it for pushes yarn cypress install sometimes fails. Turns out it isn't necessary anyway since the cypress-io gh action takes care of installing cypress. * fix(translations): sync translations from transifex (dev) Automatically merged. * docs: move docs to app (#2384) * chore(release): cut 100.0.1 [skip release] ## [100.0.1](v100.0.0...v100.0.1) (2023-06-12) ### Bug Fixes * **translations:** sync translations from transifex (dev) ([5b0b3b6](5b0b3b6)) * chore(deps): bump @dhis2/analytics from 25.1.10 to 25.1.15 Bumps [@dhis2/analytics](https://github.com/dhis2/analytics) from 25.1.10 to 25.1.15. - [Release notes](https://github.com/dhis2/analytics/releases) - [Changelog](https://github.com/dhis2/analytics/blob/master/CHANGELOG.md) - [Commits](dhis2/analytics@v25.1.10...v25.1.15) --- updated-dependencies: - dependency-name: "@dhis2/analytics" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Jen Jones Arnesen <[email protected]> Co-authored-by: @dhis2-bot <[email protected]> Co-authored-by: Jan Henrik Øverland <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Automatically merged.
Automatically merged.
Also increase the EXTENDED_TIMEOUT
* chore: nightly failing to set up cypress (#2378) The verify workflow should run on tags, so that a corresponding branch is created in the d2-ci repository Do not run the release step on PRs, but do allow it for pushes yarn cypress install sometimes fails. Turns out it isn't necessary anyway since the cypress-io gh action takes care of installing cypress. * fix(translations): sync translations from transifex (dev) Automatically merged. * docs: move docs to app (#2384) * chore(release): cut 100.0.1 [skip release] ## [100.0.1](v100.0.0...v100.0.1) (2023-06-12) ### Bug Fixes * **translations:** sync translations from transifex (dev) ([5b0b3b6](5b0b3b6)) * chore(deps): bump @dhis2/ui from 8.13.6 to 8.13.11 Bumps [@dhis2/ui](https://github.com/dhis2/ui/tree/HEAD/collections/ui) from 8.13.6 to 8.13.11. - [Release notes](https://github.com/dhis2/ui/releases) - [Changelog](https://github.com/dhis2/ui/blob/master/CHANGELOG.md) - [Commits](https://github.com/dhis2/ui/commits/v8.13.11/collections/ui) --- updated-dependencies: - dependency-name: "@dhis2/ui" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Jen Jones Arnesen <[email protected]> Co-authored-by: @dhis2-bot <[email protected]> Co-authored-by: Jan Henrik Øverland <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This is temporary during summer 2023 when there is very little frontend or backend activity
639b8cf
to
c1fe8cf
Compare
c1fe8cf
to
dd960be
Compare
I've taken the PR out of draft and added the "on hold" label, because the e2e tests don't run for draft PRs. |
e63aff9
to
35877e1
Compare
b919316
to
7f603d6
Compare
Superseded by #3040 |
Key features
Description
Upgrade Cypress dependencies and tests to run with latest Cypress version 12.
TODO
@dhis2/cli-utils-cypress
when this PR is mergedKnown issues
Screenshots